package com.huatai.manage.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * <p>
 * 试验对象;
 * </p>
 *
 * @author luoxc
 * @since 2023-04-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_trial_subject")
@ApiModel(value="TbTrialSubject对象", description="试验对象;")
public class TbTrialSubject implements Serializable {

    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "主键id")
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;

	@ApiModelProperty(value = "试验对象id")
	private String subjectId;

	@ApiModelProperty(value = "试验对象名称", required = true)
	@NotBlank(message = "试验对象名称不能为空！")
	private String subjectName;

	@ApiModelProperty(value = "模型名称", required = true)
	@NotBlank(message = "模型名称不能为空！")
	private String modelName;

	@ApiModelProperty(value = "模型类型", required = true)
	@NotBlank(message = "模型类型不能为空！")
	private String modelType;

	@ApiModelProperty(value = "特效名称", required = true)
	@NotBlank(message = "特效名称不能为空！")
	private String effectName;

	@ApiModelProperty(value = "模型地址", required = true)
	@NotBlank(message = "模型地址不能为空！")
	private String modelUrl;

	@ApiModelProperty(value = "模型标签", required = true)
	@NotBlank(message = "模型标签不能为空！")
	private String modelLabel;

	@ApiModelProperty(value = "模型图片", required = true)
	@NotBlank(message = "模型图片不能为空！")
	private String modelImg;

	@ApiModelProperty(value = "模型轨迹", required = true)
	@NotBlank(message = "模型轨迹不能为空！")
	private String modelLocus;

	@ApiModelProperty(value = "模型参数（长、宽、高）", required = true)
	@NotBlank(message = "模型参数不能为空！")
	private String modelParameter;

	@ApiModelProperty(value = "主题id", required = true)
	@NotBlank(message = "主题id不能为空！")
	private String topicId;

	@ApiModelProperty(value = "备注")
	private String remark;

	@ApiModelProperty(value = "状态")
	private String state = "1";
}
